package com.xcf.cloud.codesvc.service;

public interface ICodeService {

    boolean makeAndSendCode(String email);

    /**
     * 校验验证码是否正确，0正确1错误2超时
     * @param email
     * @param code
     * @return
     */
    Integer validCode(String email, String code);
}
